package com.itheima.liangdai;

public class Son extends Father{
    int a =10;
    public void method(){
        int a = 20;
        //输出20
        System.out.println(a);//本类局部变量
        //10
        System.out.println(this.a);//本类成员变量
        //30
        System.out.println(super.a);//父类成员变量
    }
    public  void fun(){
        System.out.println("son.....fun()");
    }

    public void me(){
        super.fun();
    }

    public void na(){
        super.show();
    }
}
